import  axios  from "axios"



const get = ({url}) =>{
      return new Promise((reslove,reject)=>{
        axios({
          url
        })
        .then(result =>{
          reslove(result)
        })
        .then(error =>{
          reject(error)
        })
      })
}

export  {
  get
}